import { dayjs } from 'element-plus'

export function formatUTC(utcString: string, format = 'YYYY-MM-DD HH:mm:ss') {
  return dayjs(utcString).format(format)
}
